package com.migration.model.olddb;

import jakarta.persistence.*;
import lombok.Data;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 *  实体类
 * 表名：sys_quartz_job
 * 自动生成的实体类
 */
@Data
@Entity
@Table(name = "sys_quartz_job")
public class SysQuartzJob implements Serializable {

    private static final long serialVersionUID = 1L;
    
    /**
     * 
     * 主键
     */
    @Id
    @Column(name = "id", nullable = false, length = 32)
    private String id;
    
    /**
     * 创建人
     */
    @Column(name = "create_by", length = 32)
    private String createBy;
    
    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private java.time.LocalDateTime createTime;
    
    /**
     * 删除状态
     */
    @Column(name = "del_flag")
    private Integer delFlag;
    
    /**
     * 修改人
     */
    @Column(name = "update_by", length = 32)
    private String updateBy;
    
    /**
     * 修改时间
     */
    @Column(name = "update_time")
    private java.time.LocalDateTime updateTime;
    
    /**
     * 任务类名
     */
    @Column(name = "job_class_name", length = 255)
    private String jobClassName;
    
    /**
     * cron表达式
     */
    @Column(name = "cron_expression", length = 255)
    private String cronExpression;
    
    /**
     * 参数
     */
    @Column(name = "parameter", length = 255)
    private String parameter;
    
    /**
     * 描述
     */
    @Column(name = "description", length = 255)
    private String description;
    
    /**
     * 状态 0正常 -1停止
     */
    @Column(name = "status")
    private Integer status;
    
    @Override
    public String toString() {
        return "SysQuartzJob{" +
            "id=" + id +
            ", createBy=" + createBy +
            ", createTime=" + createTime +
            ", delFlag=" + delFlag +
            ", updateBy=" + updateBy +
            ", updateTime=" + updateTime +
            ", jobClassName=" + jobClassName +
            ", cronExpression=" + cronExpression +
            ", parameter=" + parameter +
            ", description=" + description +
            ", status=" + status +
        '}';
    }
} 